package com.explorex.infra.puma.gateway.netty.im.model;

import lombok.Data;

@Data
public class RpcCommonResponse {
    int code;
    String msg;
    Object data;

    public RpcCommonResponse(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public RpcCommonResponse(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
